<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Enhancing Tables</title>

    <style>
        th {
            font-size: 18px;
            text-align: center;
            padding-top: 3px;
            background-color: #BDB76B;
            color: #006400;
        }
        
        caption {
            font-size: 35px;
            color: black;
        }
        
        td {
            font-size: 18px;
            border: 1px solid #008B8B;
            padding: 3px;
            background-color: Khaki;
        }
        
        tr.alt td {
            color: #0FE68C;
            background-color: #B22222;
        }
    </style>

</head>

<body>
    <h2>1.Enhancing Tables</h2>
    <table border="1">
        <caption>Test Result</caption>
        <thead>
            <tr>
                <th colspan="4">Top Three Performers</th>
            </tr>
            <tr>
                <th>Name</th>
                <th>Login ID</th>
                <th>Course Name</th>
                <th>Marks</th>
            </tr>
        </thead>
        <tbody>
            <tr class="alt">
                <td>Steve</td>
                <td>01234</td>
                <td>MySQL</td>
                <td>98</td>
            </tr>
            <tr>
                <td>John</td>
                <td>01235</td>
                <td>MySQL</td>
                <td>95</td>
            </tr>
            <tr class="alt">
                <td>Joseph</td>
                <td>01236</td>
                <td>MySQL</td>
                <td>92</td>
            </tr>
        </tbody>
        <tfoot>
            <tr>
                <td colspan="3">Total number of students</td>
                <td>3</td>
            </tr>
        </tfoot>
    </table>
</body>

</html>